<%--
  Created by IntelliJ IDEA.
  User: koizumisinya
  Date: 2017/12/08
  Time: 18:08
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>Success</title>
</head>
<body>
<h1>欢迎使用Sinya软件系统</h1><br/>

<c:choose>
    <c:when test="${empty sessionScope.session_user}">
        您还未登陆<br/>
        <a href="/RegisterSystem/login.jsp">点击登录</a><br/>
        没有账号？<a href="/RegisterSystem/register.jsp">点击注册</a>
    </c:when>

    <c:otherwise>你好！ ${sessionScope.session_user.username}</c:otherwise>
</c:choose>
</body>
</html>
